//
//  test.swift
//  test
//
//  Created by quanhao huang on 2020/8/21.
//  Copyright © 2020 hqh. All rights reserved.
//

import UIKit

class test: UIView {

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */
    override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
        
        let hitView = super.hitTest(point, with: event)
        if (hitView == self)
        {
            return nil
        }else {
            return hitView
        }
    }

}
